package chloroform

import java.util.Locale
import l10n.ProjectLocale
import javax.servlet.http.{HttpSession, HttpSessionEvent, HttpSessionListener}

/**
 * Created by IntelliJ IDEA.
 * User: zslajchrt
 * Date: 6.3.11
 * Time: 16:54
 * To change this template use File | Settings | File Templates.
 */

@deprecated
class ProjectSessionListener extends HttpSessionListener {
  def sessionCreated(ev: HttpSessionEvent) = {
//    val session = ev.getSession
//    val projectName: String = session.getServletContext.getInitParameter("projectName")
//    require(projectName != null, "The projectName parameter is not specified in web.xml")
//    session.setAttribute(classOf[ProjectRef].getName, new ProjectRef(projectName))
  }

  def sessionDestroyed(ev: HttpSessionEvent) = {}
}
